package com.aau.edu.service.impl;

import com.aau.edu.dao.entity.Dept;
import com.aau.edu.dao.mapper.DeptMapper;
import com.aau.edu.service.DeptService;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;


import java.util.List;

@Service
public class DeptServiceImpl implements DeptService {

    @Resource
    private DeptMapper deptMapper;


    @Override
    public List<Dept> getAllDepts() {
        return deptMapper.getAllDepts();
    }
}
